package com.zmj.sy.mom.srv.aps.bean.vo.order;

import com.zmj.sy.mom.srv.aps.bean.vo.base.BasePageReqVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Getter
@Setter
public class OrderListReqVo extends BasePageReqVo {

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("产品编码")
    private String materCode;

    @ApiModelProperty("产品名称")
    private String materName;

    @ApiModelProperty("订单导入类型 1ERP 2MBD")
    private Integer orderType;

    @ApiModelProperty("订单状态大于等于某个状态")
    private Integer orderStatusGe;

    @ApiModelProperty("订单状态等于某个状态")
    private Integer orderStatus;

    @ApiModelProperty("流水号")
    private String serialCode;

    @ApiModelProperty("交付日期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDeliveryDate;

    @ApiModelProperty("交付日期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDeliveryDate;

    @ApiModelProperty("同步日期开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startSyncDate;

    @ApiModelProperty("同步日期结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endSyncDate;


}
